"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var router_1 = require("@angular/router");
// import {AdminComponent} from "./admin.component";
var login_component_1 = require("./login/login.component");
var routes = [
    { path: 'admin/login', component: login_component_1.LoginComponent },
    { path: 'permissions', loadChildren: 'app/admin/permissions/permissions.module#PermissionsModule' },
    { path: 'template', loadChildren: 'app/admin/template/template.module#TemplateModule' },
    { path: 'client-manage', loadChildren: 'app/admin/client-manage/client-manage.module#ClientManageModule' },
    { path: 'program-manage', loadChildren: 'app/admin/program-manage/program-manage.module#ProgramManageModule' },
    { path: 'dash', loadChildren: 'app/admin/dash/dash.module#DashModule' },
    { path: 'article-manage', loadChildren: 'app/admin/article-manage/article-manage.module#ArticleManageModule' },
    { path: 'home-config', loadChildren: 'app/admin/home-config/home-config.module#HomeConfigModule' },
    { path: 'category-manage', loadChildren: 'app/admin/category-manage/category-manage.module#CategoryManageModule' },
    { path: 'member', loadChildren: 'app/admin/member/member.module#MemberManageModule' },
    { path: 'release-market', loadChildren: 'app/admin/release-market/release-market.module#ReleaseMarketModule' },
    { path: 'coupon-manage', loadChildren: 'app/admin/coupon-manage/coupon-manage.module#CouponManageModule' },
    { path: 'withdraw', loadChildren: 'app/admin/withdraw/withdraw.module#WithdrawModule' },
];
var AdminRoutingModule = /** @class */ (function () {
    function AdminRoutingModule() {
    }
    AdminRoutingModule = __decorate([
        core_1.NgModule({
            imports: [
                router_1.RouterModule.forChild(routes)
            ],
            exports: [
                router_1.RouterModule
            ],
            providers: []
        })
    ], AdminRoutingModule);
    return AdminRoutingModule;
}());
exports.AdminRoutingModule = AdminRoutingModule;
